home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Frontier 4.0.1 / Frontier SDK 4.0b2 / Sample Code / BarChart / BarChart.Frontier / BarChart.Frontier.rsrc / tabl_128 < prev   
Unknown  |  1995-08-28  |  5.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% TrID DEGAS med-res bitmap default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 01 03 7e 00 00 15 b2 | 00 00 00 96 00 00 00 00 |...~....|........|
|00000010| 0d 01 00 00 00 07 00 00 | 01 53 0d 01 00 00 01 5c |........|.S.....\|
|00000020| 00 00 04 58 0d 01 00 00 | 04 60 00 00 05 5f 0d 01 |...X....|.`..._..|
|00000030| 00 00 05 6b 00 00 06 d9 | 0d 01 00 00 06 e5 00 00 |...k....|........|
|00000040| 08 5e 10 01 42 41 52 43 | 00 00 08 61 0d 01 00 00 |.^..BARC|...a....|
|00000050| 08 6b 00 00 09 db 0d 01 | 00 00 09 eb 00 00 0a 72 |.k......|.......r|
|00000060| 0d 01 00 00 0a 79 00 00 | 0b c2 0d 01 00 00 0b ce |.....y..|........|
|00000070| 00 00 0c eb 0d 01 00 00 | 0c f7 00 00 0e 19 0d 01 |........|........|
|00000080| 00 00 0e 25 00 00 0f 45 | 0d 01 00 00 0f 4e 00 00 |...%...E|.....N..|
|00000090| 10 70 0d 01 00 00 10 77 | 00 00 11 5f 0d 01 00 00 |.p.....w|..._....|
|000000a0| 11 6c 06 61 64 64 42 61 | 72 00 00 01 48 00 01 04 |.l.addBa|r...H...|
|000000b0| 50 00 02 00 00 00 0c 00 | 00 00 c0 00 00 02 00 00 |P.......|........|
|000000c0| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 0c 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000000f0| 54 00 00 a4 90 d9 7d ac | 67 c4 1b 00 00 00 2a 00 |T.....}.|g.....*.|
|00000100| 00 00 a0 00 32 01 04 02 | 26 4c 41 4e 44 00 00 00 |....2...|&LAND...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 61 64 64 42 |........|.on addB|
|00000130| 61 72 20 28 6c 61 62 65 | 6c 2c 20 76 61 6c 75 65 |ar (labe|l, value|
|00000140| 29 20 c7 61 64 64 20 61 | 20 6e 65 77 20 62 61 72 |) .add a| new bar|
|00000150| 20 74 6f 20 74 68 65 20 | 74 61 72 67 65 74 20 77 | to the |target w|
|00000160| 69 6e 64 6f 77 2c 20 77 | 69 74 68 20 69 6e 64 69 |indow, w|ith indi|
|00000170| 63 61 74 65 64 20 6c 61 | 62 65 6c 20 61 6e 64 20 |cated la|bel and |
|00000180| 76 61 6c 75 65 0d 09 72 | 65 74 75 72 6e 20 28 61 |value..r|eturn (a|
|00000190| 70 70 6c 65 45 76 65 6e | 74 20 28 42 61 72 43 68 |ppleEven|t (BarCh|
|000001a0| 61 72 74 2e 69 64 2c 20 | 27 42 41 52 43 27 2c 20 |art.id, |'BARC', |
|000001b0| 27 61 62 61 72 27 2c 20 | 27 2d 2d 2d 2d 27 2c 20 |'abar', |'----', |
|000001c0| 73 74 72 69 6e 67 20 28 | 6c 61 62 65 6c 29 2c 20 |string (|label), |
|000001d0| 27 76 62 61 72 27 2c 20 | 6c 6f 6e 67 20 28 76 61 |'vbar', |long (va|
|000001e0| 6c 75 65 29 29 29 20 20 | 0d 80 00 00 00 00 00 80 |lue))) |........|
|000001f0| 00 00 00 00 00 08 65 78 | 61 6d 70 6c 65 73 00 00 |......ex|amples..|
|00000200| 02 f8 00 01 03 50 00 00 | 02 72 00 00 00 0a 00 00 |.....P..|.r......|
|00000210| 00 00 0d 01 00 00 00 09 | 08 64 61 6b 6f 54 65 73 |........|.dakoTes|
|00000220| 74 00 00 02 57 00 01 04 | 00 00 02 00 00 00 36 00 |t...W...|......6.|
|00000230| 00 01 a5 00 00 02 00 00 | 0f 06 47 65 6e 65 76 61 |........|..Geneva|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 0c 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 06 | 54 00 00 a8 fe 45 57 ab |........|T....EW.|
|00000270| dd fe c6 00 00 00 05 00 | 00 00 66 00 32 01 3e 02 |........|..f.2.>.|
|00000280| 14 4c 41 4e 44 00 00 00 | 00 00 00 00 00 00 00 00 |.LAND...|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 68 69 67 68 6c 69 67 | 68 74 73 20 61 20 64 65 |.highlig|hts a de|
|000002b0| 73 69 67 6e 20 66 6c 61 | 77 20 69 6e 20 42 61 72 |sign fla|w in Bar|
|000002c0| 43 68 61 72 74 0d 09 42 | 61 72 43 68 61 72 74 20 |Chart..B|arChart |
|000002d0| 63 6f 6d 70 75 74 65 73 | 20 74 68 65 20 68 65 69 |computes| the hei|
|000002e0| 67 68 74 20 6f 66 20 74 | 68 65 20 62 61 72 73 20 |ght of t|he bars |
|000002f0| 75 73 69 6e 67 20 69 6e | 74 65 67 65 72 20 61 72 |using in|teger ar|
|00000300| 69 74 68 6d 65 74 69 63 | 2c 20 0d 09 61 6e 64 20 |ithmetic|, ..and |
|00000310| 77 68 65 6e 20 79 6f 75 | 20 72 65 73 69 7a 65 20 |when you| resize |
|00000320| 74 68 65 20 77 69 6e 64 | 6f 77 2c 20 74 68 65 20 |the wind|ow, the |
|00000330| 61 72 69 74 68 6d 65 74 | 69 63 20 63 61 6e 20 6f |arithmet|ic can o|
|00000340| 76 65 72 66 6c 6f 77 2c | 20 0d 09 79 69 65 6c 64 |verflow,| ..yield|
|00000350| 69 6e 67 20 6e 65 67 61 | 74 69 76 65 20 6e 75 6d |ing nega|tive num|
|00000360| 62 65 72 73 20 74 68 61 | 74 20 73 68 6f 75 6c 64 |bers tha|t should|
|00000370| 20 62 65 20 70 6f 73 69 | 74 69 76 65 2e 20 42 61 | be posi|tive. Ba|
|00000380| 72 43 68 61 72 74 20 69 | 73 20 61 20 0d 09 64 65 |rChart i|s a ..de|
|00000390| 6d 6f 20 70 72 6f 67 72 | 61 6d 2e 20 49 20 68 65 |mo progr|am. I he|
|000003a0| 61 72 20 74 68 61 74 20 | 44 65 6c 74 61 47 72 61 |ar that |DeltaGra|
|000003b0| 70 68 20 69 73 20 73 63 | 72 69 70 74 61 62 6c 65 |ph is sc|riptable|
|000003c0| 21 20 44 57 0d 0d 42 61 | 72 43 68 61 72 74 2e 6e |! DW..Ba|rChart.n|
|000003d0| 65 77 57 69 6e 64 6f 77 | 20 28 32 2c 20 22 54 65 |ewWindow| (2, "Te|
|000003e0| 73 74 20 66 6f 72 20 50 | 65 74 65 72 20 44 61 6b |st for P|eter Dak|
|000003f0| 6f 22 2c 20 22 20 65 72 | 67 73 22 29 0d 42 61 72 |o", " er|gs").Bar|
|00000400| 43 68 61 72 74 2e 73 65 | 74 42 61 72 20 28 31 2c |Chart.se|tBar (1,|
|00000410| 20 22 52 6f 6d 65 22 2c | 20 31 38 39 34 34 29 0d | "Rome",| 18944).|
|00000420| 42 61 72 43 68 61 72 74 | 2e 73 65 74 42 61 72 20 |BarChart|.setBar |
|00000430| 28 32 2c 20 22 50 61 72 | 69 73 22 2c 20 38 35 38 |(2, "Par|is", 858|
|00000440| 30 39 36 32 29 0d 84 00 | 00 00 00 00 80 00 00 00 |0962)...|........|
|00000450| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000460| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000470| 80 00 00 00 00 00 80 00 | 00 00 00 00 00 01 00 00 |........|........|
|00000480| 00 00 00 01 00 03 00 00 | 00 0c 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 a8 fe 45 4a ac 67 |........|....EJ.g|
|000004a0| c4 1b 00 00 00 12 00 00 | 00 02 00 00 00 06 5f 00 |........|......_.|
|000004b0| 06 47 65 6e 65 76 61 00 | 00 00 00 00 00 00 00 00 |.Geneva.|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 40 00 00 a0 00 5a | 01 04 01 99 00 00 00 00 |..@....Z|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 15 00 4b 00 4a | 00 4b 07 61 70 70 49 6e |.....K.J|.K.appIn|
|00000500| 66 6f 00 00 00 fb 00 01 | 03 50 00 00 00 6d 00 00 |fo......|.P...m..|
|00000510| 00 32 00 00 00 00 06 01 | 00 01 f2 94 00 00 00 0e |.2......|........|
|00000520| 10 01 42 41 52 43 00 00 | 00 11 0c 01 00 00 00 16 |..BARC..|........|
|00000530| 00 00 00 22 0c 01 00 00 | 00 27 00 00 00 2b 06 01 |..."....|.'...+..|
|00000540| 00 01 01 e0 0d 61 70 70 | 31 53 75 70 70 6f 72 74 |.....app|1Support|
|00000550| 65 64 02 69 64 04 6e 61 | 6d 65 00 00 00 08 42 61 |ed.id.na|me....Ba|
|00000560| 72 43 68 61 72 74 04 70 | 61 74 68 00 00 00 00 0b |rChart.p|ath.....|
|00000570| 73 68 61 72 65 64 4d 65 | 6e 75 73 00 01 00 03 00 |sharedMe|nus.....|
|00000580| 01 00 05 00 03 00 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 a4 f9 20 91 ac 67 c4 |........|... ..g.|
|000005a0| 1c 00 00 00 8d 00 00 00 | 0a 00 00 00 06 5f 00 06 |........|....._..|
|000005b0| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 40 00 00 81 00 32 01 | 22 02 26 00 00 00 00 00 |.@....2.|".&.....|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 15 00 15 00 15 00 | 15 00 15 00 6a 00 e0 00 |........|....j...|
|00000600| 4b 0b 67 65 74 42 61 72 | 43 6f 75 6e 74 00 00 01 |K.getBar|Count...|
|00000610| 6a 00 01 04 50 00 02 00 | 00 00 78 00 00 00 76 00 |j...P...|..x...v.|
|00000620| 00 02 00 00 0f 06 47 65 | 6e 65 76 61 00 00 00 00 |......Ge|neva....|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 06 54 00 00 a4 | 90 c9 95 ab dd fe c6 00 |....T...|........|
|00000660| 00 00 2f 00 00 00 a0 00 | 32 01 04 02 05 4c 41 4e |../.....|2....LAN|
|00000670| 44 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |D.......|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 6f 6e 20 |........|.....on |
|00000690| 67 65 74 42 61 72 43 6f | 75 6e 74 20 28 29 20 c7 |getBarCo|unt () .|
|000006a0| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6e 75 6d 62 |returns |the numb|
|000006b0| 65 72 20 6f 66 20 62 61 | 72 73 20 69 6e 20 74 68 |er of ba|rs in th|
|000006c0| 65 20 74 61 72 67 65 74 | 20 77 69 6e 64 6f 77 0d |e target| window.|
|000006d0| 09 72 65 74 75 72 6e 20 | 28 61 70 70 6c 65 45 76 |.return |(appleEv|
|000006e0| 65 6e 74 20 28 42 61 72 | 43 68 61 72 74 2e 69 64 |ent (Bar|Chart.id|
|000006f0| 2c 20 27 42 41 52 43 27 | 2c 20 27 67 63 6e 74 27 |, 'BARC'|, 'gcnt'|
|00000700| 29 29 0d 80 00 00 00 00 | 00 80 00 00 00 00 6c 00 |))......|......l.|
|00000710| 00 00 00 00 08 00 01 00 | 08 00 00 00 00 00 00 21 |........|.......!|
|00000720| 0c 00 00 00 00 00 00 00 | 00 00 50 00 00 00 00 00 |........|..P.....|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 3c 00 |........|......<.|
|00000740| 68 40 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |h@......|........|
|00000750| 68 4b b6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |hK......|........|
|00000760| 68 3f d8 00 68 41 08 00 | 68 3e 90 00 68 39 ea 00 |h?..hA..|h>..h9..|
|00000770| 00 00 00 00 00 00 00 80 | 00 00 18 0b 67 65 74 42 |........|....getB|
|00000780| 61 72 56 61 6c 75 65 00 | 00 01 75 00 01 04 50 00 |arValue.|..u...P.|
|00000790| 02 00 00 00 78 00 00 00 | 81 00 00 02 00 00 0f 06 |....x...|........|
|000007a0| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|000007d0| 00 a4 90 c9 95 ab dd fe | c6 00 00 00 2f 00 00 00 |........|..../...|
|000007e0| a0 00 16 01 04 01 dd 4c | 41 4e 44 00 00 00 00 00 |.......L|AND.....|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 00 00 00 00 6f | 6e 20 67 65 74 42 61 72 |.......o|n getBar|
|00000810| 56 61 6c 75 65 20 28 6e | 29 20 c7 72 65 74 75 72 |Value (n|) .retur|
|00000820| 6e 73 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |ns the v|alue of |
|00000830| 74 68 65 20 69 6e 64 69 | 63 61 74 65 64 20 62 61 |the indi|cated ba|
|00000840| 72 0d 09 72 65 74 75 72 | 6e 20 28 61 70 70 6c 65 |r..retur|n (apple|
|00000850| 45 76 65 6e 74 20 28 42 | 61 72 43 68 61 72 74 2e |Event (B|arChart.|
|00000860| 69 64 2c 20 27 42 41 52 | 43 27 2c 20 27 67 76 61 |id, 'BAR|C', 'gva|
|00000870| 6c 27 2c 20 27 2d 2d 2d | 2d 27 2c 20 73 68 6f 72 |l', '---|-', shor|
|00000880| 74 20 28 6e 29 29 29 0d | 80 00 00 00 00 00 80 00 |t (n))).|........|
|00000890| 00 00 00 6c 00 00 00 00 | 00 08 00 01 00 08 00 00 |...l....|........|
|000008a0| 00 00 00 00 21 0c 00 00 | 00 00 00 00 00 00 00 50 |....!...|.......P|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 3c 00 68 40 80 | 00 00 00 00 00 00 00 00 |...<.h@.|........|
|000008d0| 00 00 00 00 00 68 4b b6 | 00 00 00 00 00 00 00 00 |.....hK.|........|
|000008e0| 00 00 00 00 00 68 3f d8 | 00 68 41 08 00 68 3e 90 |.....h?.|.hA..h>.|
|000008f0| 00 68 39 ea 00 00 00 00 | 00 00 00 00 80 00 00 18 |.h9.....|........|
|00000900| 02 69 64 09 6e 65 77 57 | 69 6e 64 6f 77 00 00 01 |.id.newW|indow...|
|00000910| 6c 00 01 04 50 00 02 00 | 00 00 24 00 00 00 cc 00 |l...P...|..$.....|
|00000920| 00 02 00 00 0f 06 47 65 | 6e 65 76 61 00 00 00 00 |......Ge|neva....|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 06 54 00 00 a4 | eb 8c 54 ac 67 c4 1c 00 |....T...|..T.g...|
|00000960| 00 00 21 00 00 00 82 00 | 32 01 21 02 08 4c 41 4e |..!.....|2.!..LAN|
|00000970| 44 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |D.......|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 6f 6e 20 |........|.....on |
|00000990| 6e 65 77 57 69 6e 64 6f | 77 20 28 63 74 62 61 72 |newWindo|w (ctbar|
|000009a0| 73 2c 20 74 69 74 6c 65 | 2c 20 75 6e 69 74 73 29 |s, title|, units)|
|000009b0| 20 c7 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 42 | .create| a new B|
|000009c0| 61 72 43 68 61 72 74 20 | 77 69 6e 64 6f 77 0d 09 |arChart |window..|
|000009d0| 69 66 20 6e 6f 74 20 61 | 70 70 2e 6e 65 77 57 69 |if not a|pp.newWi|
|000009e0| 6e 64 6f 77 20 28 74 69 | 74 6c 65 29 0d 09 09 72 |ndow (ti|tle)...r|
|000009f0| 65 74 75 72 6e 20 28 66 | 61 6c 73 65 29 0d 09 69 |eturn (f|alse)..i|
|00000a00| 66 20 6e 6f 74 20 42 61 | 72 43 68 61 72 74 2e 73 |f not Ba|rChart.s|
|00000a10| 65 74 42 61 72 43 6f 75 | 6e 74 20 28 63 74 62 61 |etBarCou|nt (ctba|
|00000a20| 72 73 29 0d 09 09 72 65 | 74 75 72 6e 20 28 66 61 |rs)...re|turn (fa|
|00000a30| 6c 73 65 29 0d 09 72 65 | 74 75 72 6e 20 28 42 61 |lse)..re|turn (Ba|
|00000a40| 72 43 68 61 72 74 2e 73 | 65 74 55 6e 69 74 73 20 |rChart.s|etUnits |
|00000a50| 28 75 6e 69 74 73 29 29 | 0d 80 00 00 00 00 00 80 |(units))|........|
|00000a60| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00000a70| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 0f 6f 62 |........|......ob|
|00000a80| 6a 65 63 74 48 69 65 72 | 61 72 63 68 79 00 00 00 |jectHier|archy...|
|00000a90| 83 00 01 00 50 00 02 00 | 00 00 06 00 00 00 01 00 |....P...|........|
|00000aa0| 00 02 00 00 0f 06 47 65 | 6e 65 76 61 00 00 00 00 |......Ge|neva....|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 06 54 00 00 ab | d6 5a b4 ab dd fe c6 00 |....T...|.Z......|
|00000ae0| 00 00 02 00 00 00 a0 00 | 46 01 04 01 ae 4c 41 4e |........|F....LAN|
|00000af0| 44 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |D.......|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 0d 80 00 |........|........|
|00000b10| 00 00 00 00 06 73 65 74 | 42 61 72 00 00 01 45 00 |.....set|Bar...E.|
|00000b20| 01 04 50 00 02 00 00 00 | 0d 00 00 00 bc 00 00 02 |..P.....|........|
|00000b30| 00 00 0f 06 47 65 6e 65 | 76 61 00 00 00 00 00 00 |....Gene|va......|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 06 54 00 00 a4 06 5b | 7e ab dd fe c6 00 00 00 |..T....[|~.......|
|00000b70| 61 00 00 00 a0 00 32 01 | 04 02 26 4c 41 4e 44 00 |a.....2.|..&LAND.|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 6f 6e 20 73 65 |........|...on se|
|00000ba0| 74 42 61 72 20 28 6e 2c | 20 62 6c 61 62 65 6c 2c |tBar (n,| blabel,|
|00000bb0| 20 62 76 61 6c 29 20 c7 | 73 65 74 20 74 68 65 20 | bval) .|set the |
|00000bc0| 6c 61 62 65 6c 20 61 6e | 64 20 76 61 6c 75 65 20 |label an|d value |
|00000bd0| 6f 66 20 6f 6e 65 20 6f | 66 20 74 68 65 20 62 61 |of one o|f the ba|
|00000be0| 72 73 0d 09 72 65 74 75 | 72 6e 20 28 61 70 70 6c |rs..retu|rn (appl|
|00000bf0| 65 45 76 65 6e 74 20 28 | 42 61 72 43 68 61 72 74 |eEvent (|BarChart|
|00000c00| 2e 69 64 2c 20 27 42 41 | 52 43 27 2c 20 27 73 62 |.id, 'BA|RC', 'sb|
|00000c10| 61 72 27 2c 20 27 2d 2d | 2d 2d 27 2c 20 73 68 6f |ar', '--|--', sho|
|00000c20| 72 74 20 28 6e 29 2c 20 | 27 6c 62 61 72 27 2c 20 |rt (n), |'lbar', |
|00000c30| 73 74 72 69 6e 67 20 28 | 62 6c 61 62 65 6c 29 2c |string (|blabel),|
|00000c40| 20 27 76 62 61 72 27 2c | 20 6c 6f 6e 67 20 28 62 | 'vbar',| long (b|
|00000c50| 76 61 6c 29 29 29 0d 80 | 00 00 00 00 00 80 00 00 |val)))..|........|
|00000c60| 00 00 01 0c 0b 73 65 74 | 42 61 72 43 6f 75 6e 74 |.....set|BarCount|
|00000c70| 00 00 01 19 00 01 04 50 | 00 02 00 00 00 0c 00 00 |.......P|........|
|00000c80| 00 91 00 00 02 00 00 0f | 06 47 65 6e 65 76 61 00 |........|.Geneva.|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 0c 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 06 54 | 00 00 a4 91 07 2b ac 67 |.......T|.....+.g|
|00000cc0| c4 1c 00 00 00 36 00 00 | 00 a0 00 32 01 04 02 24 |.....6..|...2...$|
|00000cd0| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 6f 6e 20 73 65 74 42 61 | 72 43 6f 75 6e 74 20 28 |on setBa|rCount (|
|00000d00| 63 74 62 61 72 73 29 20 | c7 72 65 73 65 74 20 74 |ctbars) |.reset t|
|00000d10| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 61 72 |he numbe|r of bar|
|00000d20| 73 20 66 72 6f 6e 74 6d | 6f 73 74 20 42 43 20 77 |s frontm|ost BC w|
|00000d30| 69 6e 64 6f 77 0d 09 72 | 65 74 75 72 6e 20 28 61 |indow..r|eturn (a|
|00000d40| 70 70 6c 65 45 76 65 6e | 74 20 28 42 61 72 43 68 |ppleEven|t (BarCh|
|00000d50| 61 72 74 2e 69 64 2c 20 | 27 42 41 52 43 27 2c 20 |art.id, |'BARC', |
|00000d60| 27 73 63 6e 74 27 2c 20 | 27 2d 2d 2d 2d 27 2c 20 |'scnt', |'----', |
|00000d70| 73 68 6f 72 74 20 28 63 | 74 62 61 72 73 29 29 29 |short (c|tbars)))|
|00000d80| 0d 80 00 00 00 00 00 80 | 00 00 00 00 00 0b 73 65 |........|......se|
|00000d90| 74 42 61 72 4c 61 62 65 | 6c 00 00 01 1e 00 01 04 |tBarLabe|l.......|
|00000da0| 50 00 02 00 00 00 0c 00 | 00 00 96 00 00 02 00 00 |P.......|........|
|00000db0| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 0c 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|00000de0| 54 00 00 a4 06 5b 7e ab | de 78 f5 00 00 00 44 00 |T....[~.|.x....D.|
|00000df0| 00 00 a0 00 32 01 04 02 | 26 4c 41 4e 44 00 00 00 |....2...|&LAND...|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 73 65 74 42 |........|.on setB|
|00000e20| 61 72 4c 61 62 65 6c 20 | 28 6e 2c 20 6c 61 62 65 |arLabel |(n, labe|
|00000e30| 6c 29 20 c7 73 65 74 20 | 74 68 65 20 6c 61 62 65 |l) .set |the labe|
|00000e40| 6c 20 6f 66 20 74 68 65 | 20 6e 74 68 20 62 61 72 |l of the| nth bar|
|00000e50| 0d 09 72 65 74 75 72 6e | 20 28 61 70 70 6c 65 45 |..return| (appleE|
|00000e60| 76 65 6e 74 20 28 42 61 | 72 43 68 61 72 74 2e 69 |vent (Ba|rChart.i|
|00000e70| 64 2c 20 27 42 41 52 43 | 27 2c 20 27 73 6c 61 62 |d, 'BARC|', 'slab|
|00000e80| 27 2c 20 27 2d 2d 2d 2d | 27 2c 20 73 68 6f 72 74 |', '----|', short|
|00000e90| 20 28 6e 29 2c 20 27 6c | 62 61 72 27 2c 20 73 74 | (n), 'l|bar', st|
|00000ea0| 72 69 6e 67 20 28 6c 61 | 62 65 6c 29 29 29 0d 80 |ring (la|bel)))..|
|00000eb0| 00 00 00 00 00 80 00 00 | 00 00 00 0b 73 65 74 42 |........|....setB|
|00000ec0| 61 72 56 61 6c 75 65 00 | 00 01 1c 00 01 04 50 00 |arValue.|......P.|
|00000ed0| 02 00 00 00 0c 00 00 00 | 94 00 00 02 00 00 0f 06 |........|........|
|00000ee0| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00000f10| 00 a4 06 5b 7e ab dd fe | c6 00 00 00 4e 00 00 00 |...[~...|....N...|
|00000f20| a0 00 32 01 04 02 26 4c | 41 4e 44 00 00 00 00 00 |..2...&L|AND.....|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 6f | 6e 20 73 65 74 42 61 72 |.......o|n setBar|
|00000f50| 56 61 6c 75 65 20 28 6e | 2c 20 76 61 6c 75 65 29 |Value (n|, value)|
|00000f60| 20 c7 73 65 74 20 74 68 | 65 20 76 61 6c 75 65 20 | .set th|e value |
|00000f70| 6f 66 20 74 68 65 20 6e | 74 68 20 62 61 72 0d 09 |of the n|th bar..|
|00000f80| 72 65 74 75 72 6e 20 28 | 61 70 70 6c 65 45 76 65 |return (|appleEve|
|00000f90| 6e 74 20 28 42 61 72 43 | 68 61 72 74 2e 69 64 2c |nt (BarC|hart.id,|
|00000fa0| 20 27 42 41 52 43 27 2c | 20 27 73 76 61 6c 27 2c | 'BARC',| 'sval',|
|00000fb0| 20 27 2d 2d 2d 2d 27 2c | 20 73 68 6f 72 74 20 28 | '----',| short (|
|00000fc0| 6e 29 2c 20 27 76 62 61 | 72 27 2c 20 6c 6f 6e 67 |n), 'vba|r', long|
|00000fd0| 20 28 76 61 6c 75 65 29 | 29 29 0d 80 00 00 00 00 | (value)|))......|
|00000fe0| 00 80 00 00 00 00 00 08 | 73 65 74 55 6e 69 74 73 |........|setUnits|
|00000ff0| 00 00 01 1e 00 01 04 50 | 00 02 00 00 00 0c 00 00 |.......P|........|
|00001000| 00 96 00 00 02 00 00 0f | 06 47 65 6e 65 76 61 00 |........|.Geneva.|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 0c 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 06 54 | 00 00 a4 90 d9 7d ac 67 |.......T|.....}.g|
|00001040| c4 1c 00 00 00 31 00 00 | 00 a0 00 32 01 04 02 1b |.....1..|...2....|
|00001050| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 6f 6e 20 73 65 74 55 6e | 69 74 73 20 28 6c 61 62 |on setUn|its (lab|
|00001080| 65 6c 29 20 c7 74 68 69 | 73 20 73 74 72 69 6e 67 |el) .thi|s string|
|00001090| 20 69 73 20 61 64 64 65 | 64 20 74 6f 20 74 68 65 | is adde|d to the|
|000010a0| 20 65 6e 64 20 6f 66 20 | 65 76 65 72 79 20 62 61 | end of |every ba|
|000010b0| 72 20 76 61 6c 75 65 20 | 20 20 0d 09 72 65 74 75 |r value | ..retu|
|000010c0| 72 6e 20 28 61 70 70 6c | 65 45 76 65 6e 74 20 28 |rn (appl|eEvent (|
|000010d0| 42 61 72 43 68 61 72 74 | 2e 69 64 2c 20 27 42 41 |BarChart|.id, 'BA|
|000010e0| 52 43 27 2c 20 27 73 75 | 6e 74 27 2c 20 27 2d 2d |RC', 'su|nt', '--|
|000010f0| 2d 2d 27 2c 20 73 74 72 | 69 6e 67 20 28 6c 61 62 |--', str|ing (lab|
|00001100| 65 6c 29 29 29 0d 80 00 | 00 00 00 00 80 00 00 00 |el)))...|........|
|00001110| 00 00 06 75 70 64 61 74 | 65 00 00 00 e4 00 01 04 |...updat|e.......|
|00001120| 50 00 02 00 00 00 0d 00 | 00 00 5b 00 00 02 00 00 |P.......|..[.....|
|00001130| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 0c 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|00001160| 54 00 00 a4 06 5b 7e ab | dd fe c6 00 00 00 65 00 |T....[~.|......e.|
|00001170| 00 00 a0 00 4a 01 04 01 | aa 4c 41 4e 44 00 00 00 |....J...|.LAND...|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 75 70 64 61 |........|.on upda|
|000011a0| 74 65 20 28 29 20 c7 72 | 65 66 72 65 73 68 20 74 |te () .r|efresh t|
|000011b0| 68 65 20 74 61 72 67 65 | 74 20 77 69 6e 64 6f 77 |he targe|t window|
|000011c0| 0d 09 72 65 74 75 72 6e | 20 28 61 70 70 6c 65 45 |..return| (appleE|
|000011d0| 76 65 6e 74 20 28 42 61 | 72 43 68 61 72 74 2e 69 |vent (Ba|rChart.i|
|000011e0| 64 2c 20 27 42 41 52 43 | 27 2c 20 27 75 70 64 74 |d, 'BARC|', 'updt|
|000011f0| 27 29 29 0d 80 00 00 00 | 00 00 80 00 00 00 00 01 |')).....|........|
|00001200| 0c 0c 76 6f 6c 75 6d 65 | 52 65 70 6f 72 74 00 00 |..volume|Report..|
|00001210| 03 a8 00 01 04 50 00 02 | 00 00 00 5a 00 00 02 d2 |.....P..|...Z....|
|00001220| 00 00 02 00 00 0f 06 47 | 65 6e 65 76 61 00 00 00 |.......G|eneva...|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 06 54 00 00 | a4 90 e7 76 ab dd fe c6 |.....T..|...v....|
|00001260| 00 00 00 47 00 00 00 32 | 00 32 01 7c 02 26 4c 41 |...G...2|.2.|.&LA|
|00001270| 4e 44 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ND......|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 6f 6e |........|......on|
|00001290| 20 76 6f 6c 75 6d 65 52 | 65 70 6f 72 74 20 28 77 | volumeR|eport (w|
|000012a0| 69 6e 64 6f 77 74 69 74 | 6c 65 2c 20 75 6e 69 74 |indowtit|le, unit|
|000012b0| 73 2c 20 63 61 6c 6c 62 | 61 63 6b 29 20 c7 63 72 |s, callb|ack) .cr|
|000012c0| 65 61 74 65 73 20 61 20 | 76 6f 6c 75 6d 65 20 72 |eates a |volume r|
|000012d0| 65 70 6f 72 74 20 77 69 | 6e 64 6f 77 0d 09 63 72 |eport wi|ndow..cr|
|000012e0| 65 61 74 65 73 20 61 20 | 6e 65 77 20 42 61 72 43 |eates a |new BarC|
|000012f0| 68 61 72 74 20 77 69 6e | 64 6f 77 20 77 69 74 68 |hart win|dow with|
|00001300| 20 74 68 65 20 69 6e 64 | 69 63 61 74 65 64 20 74 | the ind|icated t|
|00001310| 69 74 6c 65 0d 09 09 6c | 6f 6f 70 73 20 6f 76 65 |itle...l|oops ove|
|00001320| 72 20 61 6c 6c 20 74 68 | 65 20 6d 6f 75 6e 74 65 |r all th|e mounte|
|00001330| 64 20 64 69 73 6b 20 76 | 6f 6c 75 6d 65 73 2c 20 |d disk v|olumes, |
|00001340| 61 6e 64 20 63 61 6c 6c | 73 20 62 61 63 6b 20 77 |and call|s back w|
|00001350| 69 74 68 20 61 20 6e 61 | 6d 65 0d 09 09 74 68 65 |ith a na|me...the|
|00001360| 20 63 61 6c 6c 62 61 63 | 6b 20 72 6f 75 74 69 6e | callbac|k routin|
|00001370| 65 20 72 65 74 75 72 6e | 73 20 61 20 76 61 6c 75 |e return|s a valu|
|00001380| 65 20 74 6f 20 62 65 20 | 64 69 73 70 6c 61 79 65 |e to be |displaye|
|00001390| 64 20 69 6e 20 74 68 65 | 20 62 61 72 0d 09 09 75 |d in the| bar...u|
|000013a0| 6e 69 74 73 20 69 73 20 | 77 68 61 74 27 73 20 64 |nits is |what's d|
|000013b0| 69 73 70 6c 61 79 65 64 | 20 6e 65 78 74 20 74 6f |isplayed| next to|
|000013c0| 20 65 61 63 68 20 76 61 | 6c 75 65 0d 09 69 66 20 | each va|lue..if |
|000013d0| 6e 6f 74 20 61 70 70 2e | 73 74 61 72 74 20 28 22 |not app.|start ("|
|000013e0| 42 61 72 43 68 61 72 74 | 22 29 0d 09 09 72 65 74 |BarChart|")...ret|
|000013f0| 75 72 6e 20 28 66 61 6c | 73 65 29 0d 09 63 74 62 |urn (fal|se)..ctb|
|00001400| 61 72 73 20 3d 20 66 69 | 6c 65 2e 63 6f 75 6e 74 |ars = fi|le.count|
|00001410| 56 6f 6c 75 6d 65 73 20 | 28 29 0d 09 69 66 20 61 |Volumes |()..if a|
|00001420| 70 70 2e 73 65 6c 65 63 | 74 57 69 6e 64 6f 77 20 |pp.selec|tWindow |
|00001430| 28 77 69 6e 64 6f 77 74 | 69 74 6c 65 29 20 c7 61 |(windowt|itle) .a|
|00001440| 6c 72 65 61 64 79 20 68 | 61 73 20 61 20 77 69 6e |lready h|as a win|
|00001450| 64 6f 77 20 77 69 74 68 | 20 74 68 69 73 20 74 69 |dow with| this ti|
|00001460| 74 6c 65 0d 09 09 42 61 | 72 43 68 61 72 74 2e 73 |tle...Ba|rChart.s|
|00001470| 65 74 42 61 72 43 6f 75 | 6e 74 20 28 63 74 62 61 |etBarCou|nt (ctba|
|00001480| 72 73 29 0d 09 65 6c 73 | 65 0d 09 09 42 61 72 43 |rs)..els|e...BarC|
|00001490| 68 61 72 74 2e 6e 65 77 | 57 69 6e 64 6f 77 20 28 |hart.new|Window (|
|000014a0| 63 74 62 61 72 73 2c 20 | 77 69 6e 64 6f 77 74 69 |ctbars, |windowti|
|000014b0| 74 6c 65 2c 20 75 6e 69 | 74 73 29 0d 09 63 74 20 |tle, uni|ts)..ct |
|000014c0| 3d 20 31 20 c7 73 74 61 | 72 74 20 62 79 20 73 65 |= 1 .sta|rt by se|
|000014d0| 74 74 69 6e 67 20 74 68 | 65 20 66 69 72 73 74 20 |tting th|e first |
|000014e0| 62 61 72 27 73 20 76 61 | 6c 75 65 20 61 6e 64 20 |bar's va|lue and |
|000014f0| 6c 61 62 65 6c 0d 09 66 | 69 6c 65 6c 6f 6f 70 20 |label..f|ileloop |
|00001500| 28 66 6e 61 6d 65 20 69 | 6e 20 22 22 29 20 c7 67 |(fname i|n "") .g|
|00001510| 6f 20 74 68 72 75 20 61 | 6c 6c 20 74 68 65 20 6d |o thru a|ll the m|
|00001520| 6f 75 6e 74 65 64 20 64 | 69 73 6b 73 0d 09 09 42 |ounted d|isks...B|
|00001530| 61 72 43 68 61 72 74 2e | 73 65 74 42 61 72 20 28 |arChart.|setBar (|
|00001540| 63 74 2b 2b 2c 20 66 6e | 61 6d 65 2c 20 63 61 6c |ct++, fn|ame, cal|
|00001550| 6c 62 61 63 6b 5e 20 28 | 66 6e 61 6d 65 29 29 0d |lback^ (|fname)).|
|00001560| 80 00 00 00 00 00 84 00 | 00 00 00 00 80 00 00 00 |........|........|
|00001570| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00001580| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00001590| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000015a0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000015b0| 00 00 00 00 80 00 00 00 | 00 00 00 01 00 02 00 00 |........|........|
|000015c0| 00 0f 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | a4 06 5b 74 ac 67 c4 1c |........|..[t.g..|
|000015e0| 00 00 01 bc 00 00 00 1e | 00 00 00 06 5f 00 06 47 |........|...._..G|
|000015f0| 65 6e 65 76 61 00 00 00 | 00 00 00 00 00 00 00 00 |eneva...|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 40 00 00 32 00 46 01 a5 | 01 ad 00 00 00 00 00 00 |@..2.F..|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 15 00 15 00 15 00 15 | 00 15 00 15 00 15 00 15 |........|........|
|00001640| 00 15 00 15 00 15 00 15 | 00 15 00 15 00 15 00 73 |........|.......s|
|00001650| 00 4a 00 4b | |.J.K | |
+--------+-------------------------+-------------------------+--------+--------+